1 \renewcommand{\algorithmicrequire}{\textcolor{blue
}{\textbf{Requiere:
}}}
2 \renewcommand{\algorithmicensure}{\textbf{Devuelve:
}}
3 \renewcommand{\algorithmicend}{\textbf{Fin
}}
4 \renewcommand{\algorithmicif}{\textcolor{blue
}{\textbf{Si
}}}
5 \renewcommand{\algorithmicthen}{\textcolor{blue
}{}} %%\textbf{entonces}}}
6 \renewcommand{\algorithmicelse}{\textcolor{red
}{\textbf{Si no
}}}
7 \renewcommand{\algorithmicelsif }{\textcolor{blue
}{\textbf{Si no y
}}}
8 \renewcommand{\algorithmicendif}{\textcolor{blue
}{\textbf{Fin si
}}}
9 \renewcommand{\algorithmicfor}{\textcolor{ForestGreen
}{\textbf{Para
}}}
10 \renewcommand{\algorithmicendfor}{\textcolor{ForestGreen
}{\textbf{Fin para
}}}
11 \renewcommand{\algorithmicwhile}{\textcolor{ForestGreen
}{\textbf{Mientras
}}}
12 \renewcommand{\algorithmicendwhile}{\textcolor{ForestGreen
}{\textbf{Fin mientras
}}}
13 \renewcommand{\algorithmicdo}{\textcolor{ForestGreen
}{}} %%\textbf{hacer}}}
14 \renewcommand{\algorithmicreturn}{\textbf{Devolver
}}
15 \floatname{algorithm
}{Algoritmo
}